package com.glodon.ggzy.core.utils;

import java.util.List;

/**
 * 
 * 
 * Grid分页Model
 * @author supf
 * @since jdk1.6
 * @date 2013-6-17
 *
 */
public class GridPagerModel<T> {

	private int page;

	private int total;

	private int records;

	private List<?> rows;

	public GridPagerModel(int page, int total, int records, List<?> rows) {
		super();
		this.page = page;
		this.total = total;
		this.records = records;
		this.rows = rows;
	}

	public GridPagerModel() {
	}

	public int getPage() {
		return page;
	}

	public int getTotal() {
		return total;
	}

	public int getRecords() {
		return records;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public void setRecords(int records) {
		this.records = records;
	}

	public void setRows(List<?> list) {
		this.rows = list;
	}
}
